package syntaxtree;

import java.util.Vector;

/***
 * 
 * */
public class MethodDeclList {
	/***/
	private Vector<MethodDecl> list;

	/**
	 * 
	 * */
	public MethodDeclList() {
	      list = new Vector<MethodDecl>();
	}
	
	/**
	 * 
	 * */
	public void addElement(MethodDecl n) {
		   list.add(0,n);
	}
	
	/**
	 * 
	 * */
	public MethodDecl elementAt(int i)  { 
	      return (MethodDecl)list.elementAt(i); 
	}
	
	/**
	 * 
	 * */
	public int size() { 
	      return list.size(); 
	}
}
